package cn.com.dealme.domain.model.exception;

public class CatagoryException extends DomainModelException {

	private static final long serialVersionUID = 1L;
	
	public static final int NOT_SUB_EXCEPTION = 0;
	public static final int NOT_TOP_EXCEPTION = 0;
	
	private int state;
	
	public CatagoryException(int state) {
		this(state, null);
	}
	
	public CatagoryException(int state, String msg) {
		super(msg);
		this.state = state;
	}

	public int getState() {
		return state;
	}
	
	
}
